Public Class FormPiecesOut
  ' panels with out pieces
  Public panBlue As UCOutPieces
  Public panRed As UCOutPieces

  Sub New()

    ' This call is required by the Windows Form Designer.
    InitializeComponent()

    ' Add any initialization after the InitializeComponent() call.
    panBlue = New UCOutPieces
    panBlue.Type = UCOutPieces.PieceType.Blue
    panRed = New UCOutPieces
    panRed.Type = UCOutPieces.PieceType.Red
    Me.Controls.Add(panBlue)
    panBlue.Left = 5
    Me.Controls.Add(panRed)
    panRed.Left = 5
    panRed.Top = panBlue.Bottom + 20
    Me.Size = New Size(panRed.Right + 20, panRed.Bottom + 40)
  End Sub
  Private Sub FormPiecesOut_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

  End Sub
End Class